Tell gtk-doc about G_GNUC_WARN_UNUSED_RESULT
authorMatthias Clasen <mclasen@redhat.com>
Mon, 19 Dec 2011 12:32:32 +0000 (07:32 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 19 Dec 2011 12:32:32 +0000 (07:32 -0500)
docs/reference/gdk/Makefile.am

index e73c955421bfeca07d2b9e1df458f51814531afb..a5bcc768d21bb7a6f4196a8dc6a8e0b8422abfdc 100644 (file)
@@ -9,7 +9,8 @@ DOC_MODULE=gdk3
 DOC_MAIN_SGML_FILE=gdk-docs.sgml
 
 # Extra options to supply to gtkdoc-scan
-SCAN_OPTIONS=--deprecated-guards="GDK_ENABLE_BROKEN|GDK_DISABLE_DEPRECATED"
+SCAN_OPTIONS=--deprecated-guards=GDK_DISABLE_DEPRECATED \
+             --ignore-decorators=G_GNUC_WARN_UNUSED_RESULT
 
 # The directory containing the source code. Relative to $(srcdir)
 DOC_SOURCE_DIR=$(top_srcdir)/gdk $(top_srcdir)/gdk/x11